body
{
    background-image: url(Images/background.png);
    background-repeat: repeat;
    font-size: .85em;
    font-family: Helvetica, "Trebuchet MS", Sans-Serif;
    color: #232323;
    background-color: #dfd;
    padding: 0; margin: 0;
}
header, footer, nav, section
{
    display: block;
}

/* Main styles */
#container
{
    width: 64em;
    margin: 0 auto;
}
.subtle
{
    font-size: 0.9em;
    opacity: 0.7;
    font-style: italic;
}
#message
{
    border: 1px solid #eefaee;
    padding: 1em;
    background: #fcfffc;
    border-radius: 4px;
    text-align: center;
}
a
{
    color: #525;
    text-decoration: none;
}
a:hover
{
    text-decoration: underline;
}
h2 a
{
    float: right;
    font-weight: normal;
    font-size: 0.7em;
}
header
{
    margin: 0 auto;
    border: 1px solid #a5a5a5;
    border-top: 0;
    box-shadow: 0 0 12px #aaa;
    background: #fff;
    opacity: 0.7;
    border-radius: 0 0 4px 4px;
}
footer
{
    text-align: center;
    font-size: 0.8em;
}
#main
{
    background: #fff;
    border: 1px solid #aaa;
    margin: 2em 0;
    padding: 1em;
    min-height: 30em;
    border-radius: 4px;
    box-shadow: 0 0 8px #bbb;
}
#banner-fixed
{
    position: fixed;
    opacity: 0.5;
}
#banner
{
    position: absolute;
}
#banner, #banner-fixed
{
    font-family: "Segoe UI", Corbel, Sans-Serif;
    font-size: 2em;
    font-weight: 100;
    right: 10px;
    top: 2px;
    z-index: -1;
}
#banner a, #banner-fixed a
{
    text-decoration: none;
    color: #666;
}
a.action-button
{
    text-decoration: none;
    font-size: 0.9em;
    color: Black;
}
a.action-button:active
{
    position: relative;
    top: 1px;
    left: 0;
}
.logout-button
{
    float: right;
    padding: 0.4em;
    opacity: 0.8;
}
table td, table th
{
    padding: 0.1em 0.4em;
}
fieldset
{
    border: 1px dotted #e0efe0;
    padding: 1em;
    margin: 0.4em;
}
fieldset legend
{
    padding: 0 0.8em;
    font-size: 0.9em;
    color: #444;
    font-weight: bold;
}
.error
{
    color: #117711;
}
.paging
{
    padding: 0.8em 0.4em 0.4em 0.4em;
    margin-top: 0.4em;
    border-top: 1px dashed #e0ebe0;
}
.paging a
{
    margin-right: 0.5em;
    padding: 0.3em 0.6em;
    border: 1px solid #ddd;
    color: #111;
    background: #fbfffb;
    border-radius: 20%;
    text-decoration: none;
}
.paging a:last-child { margin-right: 0; }
.paging a:hover
{
    background: #f0faf0;
}
.paging a:active
{
    box-shadow: 0 1px 2px rgba(0,0,0, 0.3) inset;
}
.paging a.current
{
    font-weight: bold;
    color: #000;
    cursor: default;
    text-decoration: none;
}
.paging a.current:hover
{
    background: #fbfffb;
}
.paging a.current:active
{
    box-shadow: 0 0 0 #000;
}
.ingredient-cloud
{
    text-align: center;
    width: 13em;
    height: 13em;
    overflow: hidden;
}
.ingredient-cloud a
{
    color: #333;
    white-space: nowrap;
    text-shadow: 1px 1px rgba(128,128,128,0.9);
}
.ingredient-cloud a:hover
{
    position: relative;
    bottom: 1px;
    text-decoration: none;
}
.right-column
{
    float: right;
    width: 12em;
    padding: 0 0.7em;
}
.right-column > h1, .right-column > h2, .right-column > h3
{
    text-align: center;
}
.left-column
{
    margin-right: 14em;
    border-right: 1px dashed #e0ebe0;
    padding-right: 0.6em;
}

/* Main menu */
.menu
{
    padding: 1em 0;
}
.menu a
{
    text-decoration: none;
    padding: 1em;
    color: #000;
}
.menu a:first-child
{
    border-radius: 0 0 0 4px;
}
.menu a:hover
{
    background: #f0f0f0;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.3) inset;
}
.menu a.current
{
    font-weight: bold;
    background: inherit;
    box-shadow: 0 0 0 #000;
}
.menu a.current:hover
{
    cursor: default;
}
a.register-link
{
    float: right;
    opacity: 0.8;
    font-size: 0.9em;
    padding: 0.6em;
}
a.register-link:hover
{
    background: inherit;
    box-shadow: 0 0 0 0;
}
a.register-link:active
{
    position: relative;
    top: 1px;
    left: 0;
}
.categories a, .categories a:first-child
{
    color: #000;
    margin: 0 1em;
    padding: 0.8em 2em;
    border: 1px solid #888;
    border-radius: 4px;
}
.categories a:hover
{
    text-decoration: none;
    border-radius: 4px;
}

/* Styles for basic forms */
form.action-button { display: inline; }
textarea 
{
    min-height: 150px;
}
.editor-label 
{
    margin: 1em 0 0 0;
}
.editor-field 
{
    margin: 0.5em 0 0 0;
}

/* Styles for validation helpers */
.field-validation-error
{
    color: #900;
}
.field-validation-valid
{
    display: none;
}
.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}
.validation-summary-errors
{
    color: #500;
    font-size: 0.9em;
}
.validation-summary-errors ul
{
    padding: 1em;
    border: 1px solid #a99;
    border-radius: 6px;
}
.validation-summary-errors li
{
    padding: 0;
    list-style-type: none;
}
.validation-summary-valid
{
    display: none;
}

/* User styles */
.user-summary
{
    display: inline-block;
    float: left;
    width: 29%;
    font-size: 0.9em;
}
.user-recipes
{
    float: right;
    width: 70%;
}

/* Simplemodal */
#simplemodal-overlay {background-color:#000;}
#simplemodal-container {height:360px; width:600px; color:#111; background-color:#fff; border:1px solid #444; padding:12px; border-radius:6px; box-shadow:1px 1px 18px rgba(0,0,0,0.8);}
#simplemodal-container .simplemodal-data {padding:8px;}
#simplemodal-container a.modalCloseImg {background:url(Images/x.png) no-repeat; width:25px; height:29px; display:inline; z-index:3200; position:absolute; top:-15px; right:-16px; cursor:pointer;}
#simplemodal-container h1, #simplemodal-container h4 { margin: 1.8em 0 0.4em 0; }